<?php

 session_start();
 
if (isset($_POST)) {
            foreach ($_SESSION["panier"] as $key => $ligne) {
                if ($ligne["ID_Article"] == $_POST["ID"]) {
                    $_SESSION["panier"][$key]["Quantite"] = $_POST["Quantite"];
                    echo $_SESSION["panier"][$key]["Quantite"];
                }
            }
        }

?>
